import React, { Component } from 'react';
import { withRouter } from 'react-router';

@withRouter
export default class MenuTwoInfo extends Component {
    render () {
        return (
            <div>
                <div style={styles.menuTitle}>二级菜单隐藏页</div>
                <div style={{margin: '20px 0'}}>
                    <button style={{margin: '20px 0'}} onClick={() => this.props.history.goBack()}>返回二级菜单</button>
                </div>
            </div>
        )
    }
}

const styles = {
    menuTitle: {
        fontSize: '20px',
        marginBottom: '10px',
    },
    menuTwo: {
        display: 'flex',
        flexDireaction: 'row',
    }
}